package com.mk.Service.Impl;

import com.mk.Entity.User;
import com.mk.Mapper.UserMapper;
import com.mk.Service.IUserservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author 28464
 */
@Service
public class UserServiceImpl implements IUserservice {

    @Autowired
    UserMapper userMapper;
    @Override
    public User queryUser(String username) {
        return userMapper.selectOne(username);
    }
}
